<?php
class Search {
	var $keyword = "";

	function set_keyword($keyword){
		$this->keyword = $keyword;
	}

	function rain_display($tpl, $template = "search"){
		$tpl->assign("keyword", $this->keyword);
		$tpl->draw($template);
	}
}